package com.enjoyread.core.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.enjoyread.core.entity.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;


public interface UserDao extends BaseMapper<User> {
    @Update("update t_user set password=#{password} where phone=#{phone}")
    int updatePass(@Param("password")String password,@Param("phone") String phone);
}
